<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            background-image: url(img/bgi.jpg);
        }
        div{
            width: 200px;
            height: 200px;
            
            margin: 495px 605px;
            background-image: url(img/1.png);
            background-size: cover;
            animation: football 3s linear infinite;
        }
        @keyframes football{
            0%{
                margin: 495px 605px;
                transform: rotate(0deg);
                background-image: url(img/1.png);
            }
            50%{
                margin: 495px 605px;
                transform: rotate(720deg);
                background-image: url(img/2.png);
            }
            80%{
                margin: 200px;
                transform: rotate(1302deg);
                background-image: url(img/3.png);
            }
            100%{
                margin: -200px;
                transform: rotate(1303deg);
                background-image: url(img/3.png);

            }
        }
    </style>
</head>
<body>
    <div>

    </div>
</body>
</html>